package com.example.deptempmanageservice.dao;

import com.myprojects.common.pojo.Department;
import com.myprojects.common.pojo.Position;
import com.myprojects.common.pojo.PositionExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

//@Mapper
public interface PositionMapper {
    long countByExample(PositionExample example);

    int deleteByExample(PositionExample example);

    int deleteByPrimaryKey(Integer id);

    int deleteLotsByPrimaryKey(List<Integer> list);

    int insert(Position record);

    int insertSelective(Position record);

    List<Department> selectByExample(PositionExample example);

    Department selectByPrimaryKey(Integer id);

    List<Position> selectByDepId(Integer id);

    int updateByExampleSelective(@Param("record") Position record, @Param("example") PositionExample example);

    int updateByExample(@Param("record") Position record, @Param("example") PositionExample example);

    int updateByPrimaryKeySelective(Position record);

    int updateByPrimaryKey(Position record);
}